<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>LTE-UNB: Parameters/File.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">LTE-UNB
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">Parameters/File.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_file_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00018"></a>00018 <span class="preprocessor">#ifndef _FILE_H_</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#define _FILE_H_</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;itpp/itbase.h&gt;</span>
<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 <span class="keyword">using namespace </span>itpp;
<a name="l00025"></a>00025 <span class="keyword">using namespace </span>std;
<a name="l00026"></a>00026 
<a name="l00031"></a>00031 <span class="keyword">namespace </span>Parameters
<a name="l00032"></a>00032 {
<a name="l00033"></a>00033 
<a name="l00038"></a><a class="code" href="class_parameters_1_1_file.html">00038</a> <span class="keyword">class </span><a class="code" href="class_parameters_1_1_file.html">File</a>
<a name="l00039"></a>00039 {
<a name="l00040"></a>00040    <span class="keyword">public</span>:
<a name="l00041"></a>00041    
<a name="l00046"></a>00046       <a class="code" href="class_parameters_1_1_file.html">File</a>();
<a name="l00047"></a>00047 
<a name="l00052"></a>00052       <span class="keyword">virtual</span> ~<a class="code" href="class_parameters_1_1_file.html">File</a>();
<a name="l00053"></a>00053 
<a name="l00064"></a>00064       <span class="keywordtype">void</span> write( <span class="keywordtype">char</span>* fileName, vec&amp; xValues, vec&amp; yValues );
<a name="l00065"></a>00065       
<a name="l00070"></a>00070       <span class="keywordtype">void</span> writeMatlab( <span class="keywordtype">char</span>* fileName, vec&amp; xValues, vec&amp; yValues );
<a name="l00071"></a>00071       
<a name="l00076"></a>00076       <span class="keywordtype">void</span> writeMatlab( <span class="keywordtype">char</span>* fileName, vec&amp; xValues, vec&amp; yValues, Array&lt;vec&gt; zValues );
<a name="l00077"></a>00077       
<a name="l00082"></a>00082       <span class="keywordtype">void</span> write( <span class="keywordtype">char</span>* fileName, vec&amp; xValues, vec&amp; yValues, Array&lt;vec&gt;&amp; zValues );
<a name="l00083"></a>00083       
<a name="l00084"></a>00084       <span class="keywordtype">void</span> write( <span class="keywordtype">char</span>* fileName, vec&amp; xValues, vec&amp; y0, vec&amp; y1, vec&amp; y2, vec&amp; y3, vec&amp; y4 );
<a name="l00085"></a>00085       
<a name="l00090"></a>00090       <span class="keywordtype">void</span> saveChannel( <span class="keywordtype">char</span>* fileName, 
<a name="l00091"></a>00091                         Array&lt;vec&gt;&amp; array,
<a name="l00092"></a>00092                         <span class="keywordtype">double</span> timeStep,
<a name="l00093"></a>00093                         <span class="keywordtype">double</span> frequencyStep );
<a name="l00094"></a>00094       
<a name="l00099"></a>00099       <span class="keywordtype">void</span> readChannel( <span class="keywordtype">char</span>* fileName, 
<a name="l00100"></a>00100                         Array&lt;vec&gt;&amp; array,
<a name="l00101"></a>00101                         <span class="keywordtype">double</span>&amp; timeStep,
<a name="l00102"></a>00102                         <span class="keywordtype">double</span>&amp; frequencyStep );
<a name="l00103"></a>00103       
<a name="l00108"></a>00108       <span class="keywordtype">void</span> read( <span class="keyword">const</span> <span class="keywordtype">string</span> fileName, 
<a name="l00109"></a>00109                  <span class="keyword">const</span> <span class="keywordtype">string</span> varName,
<a name="l00110"></a>00110                  <span class="keywordtype">int</span>&amp; var );
<a name="l00111"></a>00111       
<a name="l00116"></a>00116       <span class="keywordtype">void</span> read( <span class="keyword">const</span> <span class="keywordtype">string</span> fileName, 
<a name="l00117"></a>00117                  <span class="keyword">const</span> <span class="keywordtype">string</span> varName,
<a name="l00118"></a>00118                  <span class="keywordtype">double</span>&amp; var );
<a name="l00119"></a>00119 
<a name="l00120"></a>00120    <span class="keyword">protected</span>:
<a name="l00121"></a>00121 
<a name="l00122"></a>00122    <span class="keyword">private</span>:
<a name="l00123"></a>00123 
<a name="l00124"></a>00124  
<a name="l00125"></a>00125 };
<a name="l00126"></a>00126 
<a name="l00127"></a>00127 };
<a name="l00128"></a>00128 
<a name="l00129"></a>00129 <span class="preprocessor">#endif</span>
<a name="l00130"></a>00130 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Thu Oct 25 2012 22:25:34 for LTE-UNB by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
